<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<?php echo form_tag_for($form, '@application') ?>

       <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
	   	  <tr><td>
		  <?php echo $form->renderGlobalErrors() ?>
		  <?php echo $form['area_id']->renderError() ?>
		  <?php echo $form['name']->renderError() ?>
		  <?php echo $form['name_en']->renderError() ?>
		  <?php echo $form['age']->renderError() ?>
		  <?php echo $form['minzu']->renderError() ?>
		  <?php echo $form['height']->renderError() ?>
		  <?php echo $form['weight']->renderError() ?>
		  <?php echo $form['bwh']->renderError() ?>
		  <?php echo $form['occupation']->renderError() ?>
		  <?php echo $form['education']->renderError() ?>
		  <?php echo $form['college']->renderError() ?>
		  <?php echo $form['address']->renderError() ?>
		  <?php echo $form['id_card']->renderError() ?>
		  <?php echo $form['phone']->renderError() ?>
		  <?php echo $form['qq']->renderError() ?>
		  <?php echo $form['native_place']->renderError() ?>
		  <?php echo $form['contact']->renderError() ?>
		  <?php echo $form['relation']->renderError() ?>
		  <?php echo $form['contact_phone']->renderError() ?>
		  <?php echo $form['introduction']->renderError() ?>
		  <?php echo $form['hobby']->renderError() ?>
		  <?php echo $form['watchword']->renderError() ?>
		  <?php echo $form['picture']->renderError() ?>
		  <?php echo $form['email']->renderError() ?>
		  <?php echo $form['password']->renderError() ?>
		  <?php echo $form['website']->renderError() ?>
		  <?php echo $form['picturelife']->renderError() ?></td></tr>
          <tr>
            <td height="40" colspan="2"><span style="font-size:14px; color:#ec2196;">选择赛区</span></td>
          </tr>
          <tr>
            <td width="113" height="30" align="right" style="font-size:14px;"><b style="color:#F00;">*</b> 选择赛区：</td>
            <td width="487">
			<?php echo $form['area_id']->render(array('style' => 'width:150px;')) ?>
            </td>
          </tr>
       </table>

       <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
          <tr>
            <td height="50" colspan="6"><span>基本资料</span></td>
          </tr>
          <tr>
            <td width="106" height="35" align="right"><b>*</b> 真实姓名：</td>
            <td width="173" align="center"><?php echo $form['name'] ?></td>
            <td width="20">&nbsp;</td>
            <td width="125" align="right"><b>*</b> 现居住地：</td>
            <td width="153" align="center"><?php echo $form['address'] ?></td>
            <td width="23">&nbsp;</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 年龄：</td>
            <td align="center"><?php echo $form['age'] ?></td>
            <td class="ft23">&nbsp;</td>
            <td align="right"><b>*</b> 民族：</td>
            <td align="center"><?php echo $form['minzu'] ?></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 身高：</td>
            <td align="center"><?php echo $form['height'] ?></td>
            <td class="ft23"> CM</td>
            <td align="right"><b>*</b> 体重：</td>
            <td align="center"><?php echo $form['weight'] ?></td>
            <td align="right" class="ft23">KG</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 三围：</td>
            <td align="center"><?php echo $form['bwh'] ?></td>
            <td>&nbsp;</td>
            <td align="right"><b>*</b> 职业：</td>
            <td align="center"><?php echo $form['occupation'] ?></td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 学历：</td>
            <td align="center"><?php echo $form['education'] ?></td>
            <td>&nbsp;</td>
            <td align="right"><b>*</b> 毕业就读院校：</td>
            <td align="center"><?php echo $form['college'] ?></td>
            <td>&nbsp;</td>
          </tr>
    </table>
    
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
          <tr>
            <td height="50" colspan="4"><span>帐号与密码</span></td>
          </tr>
          <tr>
            <td width="107" height="35" align="right"><b>*</b> E-mail：</td>
            <td width="173" align="center"><?php echo $form['email'] ?></td>
            <td width="18">&nbsp;</td>
            <td width="302" class="ft23">用来登陆选手中心建议使用常用的E-mail</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 设置密码：</td>
            <td align="center"><?php echo $form['password'] ?></td>
            <td>&nbsp;</td>
            <td class="ft23">最少6位字符，英文字母、符号或数字</td>
        </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 确认密码：</td>
            <td align="center"><?php echo $form['password2'] ?></td>
            <td>&nbsp;</td>
            <td class="ft23">将设置密码再次输入一遍</td>
          </tr>
          <tr>
            <td height="35" align="right"><b>*</b> 身份证号码：</td>
            <td align="center"><?php echo $form['id_card'] ?></td>
            <td colspan="2">&nbsp;</td>
          </tr>
    </table>
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
      <tr>
        <td height="50" colspan="4"><span>联系方式</span></td>
      </tr>
      <tr>
        <td width="107" height="35" align="right"><b>*</b> 联系电话 ：</td>
        <td width="175" align="center"><?php echo $form['phone'] ?></td>
        <td width="141" align="right"><b>*</b> QQ号：</td>
        <td width="177"><?php echo $form['qq'] ?></td>
      </tr>
      <tr>
        <td height="35" align="right"><b>*</b> 联系地址：</td>
        <td align="center"><?php echo $form['native_place'] ?></td>
        <td align="right">个人网站 ：</td>
        <td><?php echo $form['website'] ?></td>
      </tr>
      <tr>
        <td colspan="4" height="40"><span>紧急联系人</span></td>
      </tr>
      <tr>
        <td height="35" align="right"><b>*</b> 紧急联系人：</td>
        <td align="center"><?php echo $form['contact'] ?></td>
        <td align="right"><b>*</b>与您的关系 ：</td>
        <td><?php echo $form['relation'] ?></td>
      </tr>
      <tr>
        <td height="35" align="right"><b>*</b> 联系电话：</td>
        <td align="center"><?php echo $form['contact_phone'] ?></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
    
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="tables">
      <tr>
        <td height="50" colspan="2"><span>其它</span></td>
      </tr>
      <tr>
        <td width="107" align="right" valign="top"><b>*</b> 个人介绍：</td>
        <td width="493" height="110"><?php echo $form['introduction']->render(array('cols' => '50', 'rows' => '8')) ?></td>
      </tr>
      <tr>
        <td height="30" colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td align="right" valign="top"><b>*</b> 才艺和爱好：</td>
        <td height="110"><?php echo $form['hobby']->render(array('cols' => '50', 'rows' => '8')) ?></td>
      </tr>
      <tr>
        <td height="30" colspan="2">&nbsp;</td>
      </tr>
      <tr>
        <td align="right" valign="top"><b>*</b> 美丽宣言：</td>
        <td height="110"><?php echo $form['watchword']->render(array('cols' => '50', 'rows' => '8')) ?></td>
      </tr>
    </table>
    
    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="bm_table">
      <tr>
        <td height="50" colspan="3"><span>上传照片</span></td>
        </tr>
      <tr>
        <td width="115" height="35" align="right"><b>*</b> 选择照片：</td>
        <td width="241"><?php echo $form['picture'] ?></td>
        <td width="244" style="font-size:12px; color:#6d6d6d;">请上传一张近期<b>艺术照片</b>，大小在2M以内。</td>
      </tr>
      <tr>
        <td height="35" align="right"><b>*</b> 选择照片：</td>
        <td><?php echo $form['picturelife'] ?></td>
        <td style="font-size:12px; color:#6d6d6d;">请上传一张近期<b>生活照片</b>，大小在2M以内。</td>
      </tr>
    </table>

    <table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
       <tr>
          <td width="114" height="60"><?php echo $form->renderHiddenFields() ?></td>
          <td width="114"><input type="image" name="imageField" id="imageField" src="/images/tj_btn.gif" /></td>
          <td width="372">&nbsp;</td>
       </tr>
    </table>
    </form>
